package com.tao.YanMoDesignPattern.factory.case1_pattern.product;

import com.tao.YanMoDesignPattern.factory.case1_pattern.CPUApi;

/**
 * @Author Mi_Tao
 * @Date 2023/8/5
 * @Description
 * @Version 1.0
 **/
public class IntelCPU implements CPUApi {

    public IntelCPU(int pins) {
        this.pins = pins;
    }

    // COU针脚数目
    private int pins = 0;
    @Override
    public void calculate() {
        System.out.println("Intel CPU,pins ="+pins);
    }
}
